package org.jeecg.modules.demo.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 优惠卷表
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("sms_coupon")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sms_coupon对象", description="优惠卷表")
public class SmsCoupon {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**优惠卷类型；0->全场赠券；1->会员赠券；2->购物赠券；3->注册赠券*/
	@Excel(name = "优惠卷类型；0->全场赠券；1->会员赠券；2->购物赠券；3->注册赠券", width = 15)
    @ApiModelProperty(value = "优惠卷类型；0->全场赠券；1->会员赠券；2->购物赠券；3->注册赠券")
	private java.lang.Integer type;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
	private java.lang.String name;
	/**使用平台：0->全部；1->移动；2->PC*/
	@Excel(name = "使用平台：0->全部；1->移动；2->PC", width = 15)
    @ApiModelProperty(value = "使用平台：0->全部；1->移动；2->PC")
	private java.lang.Integer platform;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
	private java.lang.Integer count;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
	private java.math.BigDecimal amount;
	/**每人限领张数*/
	@Excel(name = "每人限领张数", width = 15)
    @ApiModelProperty(value = "每人限领张数")
	private java.lang.Integer perLimit;
	/**使用门槛；0表示无门槛*/
	@Excel(name = "使用门槛；0表示无门槛", width = 15)
    @ApiModelProperty(value = "使用门槛；0表示无门槛")
	private java.math.BigDecimal minPoint;
	/**startTime*/
	@Excel(name = "startTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "startTime")
	private java.util.Date startTime;
	/**endTime*/
	@Excel(name = "endTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "endTime")
	private java.util.Date endTime;
	/**使用类型：0->全场通用；1->指定分类；2->指定商品*/
	@Excel(name = "使用类型：0->全场通用；1->指定分类；2->指定商品", width = 15)
    @ApiModelProperty(value = "使用类型：0->全场通用；1->指定分类；2->指定商品")
	private java.lang.Integer useType;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String note;
	/**发行数量*/
	@Excel(name = "发行数量", width = 15)
    @ApiModelProperty(value = "发行数量")
	private java.lang.Integer publishCount;
	/**已使用数量*/
	@Excel(name = "已使用数量", width = 15)
    @ApiModelProperty(value = "已使用数量")
	private java.lang.Integer useCount;
	/**领取数量*/
	@Excel(name = "领取数量", width = 15)
    @ApiModelProperty(value = "领取数量")
	private java.lang.Integer receiveCount;
	/**可以领取的日期*/
	@Excel(name = "可以领取的日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "可以领取的日期")
	private java.util.Date enableTime;
	/**优惠码*/
	@Excel(name = "优惠码", width = 15)
    @ApiModelProperty(value = "优惠码")
	private java.lang.String code;
	/**可领取的会员类型：0->无限时*/
	@Excel(name = "可领取的会员类型：0->无限时", width = 15)
    @ApiModelProperty(value = "可领取的会员类型：0->无限时")
	private java.lang.Integer memberLevel;
	/**所属店铺*/
	@Excel(name = "所属店铺", width = 15)
    @ApiModelProperty(value = "所属店铺")
	private java.lang.Integer storeId;
}
